/****************************************
 ****************************************
 **   This document written by CTonk.  **
 **         ctonk@hotmail.com          **
 ****************************************
 ****************************************/

// tick.h

#ifndef H_TICK
#define H_TICK

bool Tick( void );

bool Tick( void )
{
	std::string buf;

	for ( int x=0; x < ChList.GetSize(); x++ )
	{
		//if ( ChList[x]->GetLevel() >= BLDR && ChList[x]->GetOnTick() )
			buf = "\n--== TICK ==-- ";
			buf << World::Instance().GetClock()->GetTime() << '\n';
			ChList[x]->Send( buf );
	}

	return true;
}

bool (*TickPtr) ( void ) = Tick;

#endif // #ifndef H_TICK